%%
%% Copyright (C) 2010 by Wenbo Yang <http://solrex.org> and
%% any individual authors listed elsewhere in this file.
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of
%% LaTeX version 1999/12/01 or later.
%%
%% Homepage: http://share.solrex.org/njuthesis/ or
%%           http://njuthesis.googlecode.com/
%%
%% ---------------- Start of the docstrip commands --------------------

\input docstrip

\preamble

This is a generated file.

Copyright (C) 2010 by Wenbo Yang <http://solrex.org> and
any individual authors listed elsewhere in this file.

It may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.2
of this license or (at your option) any later version.
The latest version of this license is in
   http://www.latex-project.org/lppl.txt
and version 1.2 or later is part of all distributions of LaTeX
version 1999/12/01 or later.

Homepage: http://share.solrex.org/njuthesis/ or
          http://njuthesis.googlecode.com/

\endpreamble

\askonceonly
\keepsilent
\usedir{tex/latex/NJUthesis}

\generate{\file{NJUthesis.cls}{\from{NJUthesis.dtx}{cls}}
%%          \usepreamble\cfgpreamble
          \file{NJUthesis.cfg}{\from{NJUthesis.dtx}{cfg}}
          }

\ifToplevel{
\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* files into a directory searched by TeX:}
\Msg{*}
\Msg{* The recommended directory is TEXMF/tex/latex/NJUthesis}
\Msg{*}
\Msg{* \space\space NJUthesis.cls}
\Msg{* \space\space NJUthesis.cfg}
\Msg{*}
\Msg{* To produce the documentation run the file}
\Msg{* `NJUthesis.dtx' through LaTeX.}
\Msg{*}
\Msg{* Happy TeXing}
\Msg{***********************************************************}
}

\endbatchfile

